﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FluentNHibernate.Mapping;

namespace LumenLiquid.Database.Mappings
{
    internal sealed class SavegameInfoMap:ClassMap<Entities.Settings.SavegameInfo>
    {
        public SavegameInfoMap()
        {
            Not.LazyLoad();

            Table("savegames");
            Id(m => m.Id).Unique().Column("id");
            Map(m => m.File).Column("savegame").Not.Nullable();
            Map(m => m.Guid).Column("guid");
        }
    }
}
